---------------------------------------------------------------- LED2 VBX Control Copyright 1994 Northeast Data Corp. All Rights Reserved ---------------------------------------------------------------- Release 1.0 March 1994 This document describes the LED2 Custom VBX Control. CONTENTS 1. Product Description 2. Legal Information 3. Installation 4. Usage 5. Ordering Information ---------------------------------------------------------------- 1. Product Description The LED2 VBX Control is a Microsoft Windows DLL designed and implemented in compliance with Microsoft standards for interfacing with Visual Basic. The control appears to the end user as a LED Meter similar to those used on audio/video equipment such as stereos, tuners, and amplifiers. To the application programmer, the interface to the LED2 control is simple. Simply set the value property to a number and the LED2 control will turn 'on' that number of segments. Properties also exist to set the actual number of segments as well as their spacing and width. Being a VBX control, the programmer can add the LED2 Control to the tool palette in Visual Basic. This allows use of the control in Visual Basic forms. Since Visual C++ supports use of VBX controls, the LED2 control can also be used in the Visual C++ environment. Use of the LED2 Control in a finished application requires the LED2 Control DLL (LED2.vbx) to be installed with the application. This is true of all custom controls written for MS Windows. There are properties available that allow the programmer to control the behavior and appearance of the LED2 Control. The control can be set so that the light segments are displayed either horizontal or vertical. The LED2 control can also have it's segments light up from left to right, right to left, bottom to top or top to bottom. The thickness of the segments and the spacing between the segments can be set as well as any colors used in drawing the LED2 control. All communication between the LED2 Control and the application is performed using the standard Windows message mechanism for controls. ------------------------------------------------------------------- 2. Legal Information The purchaser of the LED2 Control is allowed to use it and distribute it in applications without paying any royalty, and without printing or displaying a copyright notice for the control. This only includes distribution of the LED2 Control DLL (LED2.VBX). It does not include distribution of documentation that comes with the LED2 Control. The purchaser of the LED2 Control may distribute the control DLL with applications that are networked (multiple users accessing the DLL from a file server) without paying any license fees to Northeast Data Corp. ------------------------------------------------------------------- 3. Installation Create a "LED2" directory on your hard disk and copy all files from the distribution disk to the directory. These files include: LED2.VBX FORM1.FRM PROJECT1.MAK README.TXT PROJECT1.EXE If you have downloaded the LED2_100.zip file from Compuserve, use PKUNZIP to extract the files into the directory. Start Visual Basic or the Visual C++ App Studio applications and use the custom control installation function to install the LED2.vbx control. ------------------------------------------------------------------- 4. Usage PROPERTIES ---------- BackColor - Sets the background color. DarkColor - Sets the color of the segments when they are off. Direction - Sets the direction the segments light up. 0 - Normal, 1 - Reversed Height - Height of control. HighliteColor - Sets the upper bevel color. InnerSpace - Sets the number of pixels between segments. LEDType - 0 - Horizontal, 1 - Vertical Left - Left position. LightColor - Sets the color of the segments when they are on. Segments - Sets the number of segments in the meter. ShadowColor - Sets the color of the lower bevel. SideSpace - Sets the number of pixels before the first segment is drawn. Thickness - Sets how thick each segment is. Top - Top of control window. Value - Sets the number of segments that should be turned on. Visible - Visible/Invisible attribute. Width - Width of control. EVENTS ------ No events are supported. Ordering Information -------------------- To order the commercial version of the LED2 Control, send a check to: Northeast Data Corp. 2117 Buffalo Rd., Suite 290 Rochester, NY 14624 The prices are: LED2 VBX Control (for Visual Basic and Visual C++) - $55 LED2 DLL Custom Control (for C) - $50 Both controls - $75 Source code (includes both controls) - $235 Include your phone number and Compuserve ID if applicable. In return for your check, you will get the software, a telephone number for support, and a Compuserve ID for support.